home *** CD-ROM | disk | FTP | other *** search
/ Gear Audio / Gear Audio CD-ROM.iso / csav / mailcommand / program.z / INFORMEG.TXT < prev    next >
Encoding:
Text File  |  1999-02-11  |  1.7 KB  |  50 lines

  1.  
  2. 3.2 Log/Copy examples
  3. Using these entries as follows would cause a mail message to be sent which included a header only :-
  4. [Disposal]
  5. VIRUSPRESENT=Virus
  6. ..
  7. [Virus]
  8. Quarantine=
  9. Inform=VirusList
  10. Delete=
  11. ..
  12. [VirusList]
  13. Subject=A message from %SENDER% contained a virus.
  14. FromAdr=MIMEsweeper at FrontDoor
  15. ToAdr=AdminFront at FrontDoor
  16. CCAdr=%RCPTS%
  17. WithLog=FALSE
  18.  
  19. Thus any combination of copy message and copy log can be added to the inform message.
  20.  
  21.  It is possible to use a pre-existing MSW feature to send different Inform messages and combinations of Copy and Log to different users. A typical requirement is to send the log to the administrator but not to the sender or recipients. The ability to have multiple "Inform" entries in a single disposal section achieves this functionality. The above example could be expanded as follows :-
  22.  [Disposal]
  23. VIRUSPRESENT=Virus
  24. ..
  25.  [Virus]
  26. Quarantine=
  27. Inform=VirusList
  28. Inform=SenderVirusList
  29. Delete=
  30. ..
  31. [SenderVirusList]
  32. Subject=Your message contained a virus.
  33. FromAdr=MIMEsweeper at FrontDoor
  34. ToAdr=%SENDER%
  35. ToAdr=%RCPTS%
  36. WithLog=FALSE
  37.  
  38. [VirusList]
  39. Subject=A message from %SENDER% contained a virus.
  40. FromAdr=MIMEsweeper at FrontDoor
  41. ToAdr=AdminFront at FrontDoor
  42. WithCopy=TRUE
  43.  
  44. These two inform actions would cause a message to be sent to the administrator including the log and a copy of the message and a header only message to be sent to the originator and intended recipients.
  45.  
  46. CAUTION:
  47. The use of WithCopy=TRUE in InformLists for virus detection is very strongly discouraged because of the possibility of viruses escaping from MIMEsweeper quarantine.
  48. WithCopy=TRUE must always be used carefully.
  49.  
  50.